package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 * 幢 单元 房间
 */
@TableMapperAnnotation(tableName = "t_room", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class Room extends Domain {

	private static final long serialVersionUID = 1L;
	@FieldMapperAnnotation
	Integer id;
	/**
	 * 幢号
	 */
	@FieldMapperAnnotation
	String roomZ;
	/**
	 * 单元号
	 */
	@FieldMapperAnnotation
	String roomDy;
	/**
	 * 楼号房间号
	 */
	@FieldMapperAnnotation
	String roomNo;
	/**
	 * 小区id
	 */
	@FieldMapperAnnotation
	Integer relativeId;
	/**
	 * 创建时间
	 */
	@FieldMapperAnnotation
	Long createTime;
	/**
	 * 修改时间
	 */
	@FieldMapperAnnotation
	Long modifyTime;
	/**
	 * 状态
	 */
	@FieldMapperAnnotation
	Integer state;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getRoomZ() {
		return roomZ;
	}
	public void setRoomZ(String roomZ) {
		this.roomZ = roomZ;
	}
	public String getRoomDy() {
		return roomDy;
	}
	public void setRoomDy(String roomDy) {
		this.roomDy = roomDy;
	}
	public String getRoomNo() {
		return roomNo;
	}
	public void setRoomNo(String roomNo) {
		this.roomNo = roomNo;
	}
	public Integer getRelativeId() {
		return relativeId;
	}
	public void setRelativeId(Integer relativeId) {
		this.relativeId = relativeId;
	}
	public Long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	public Long getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Long modifyTime) {
		this.modifyTime = modifyTime;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}

}
